package com.zxq.uart.frame.decoder;

import com.zxq.factory.annotate.DecoderField;
import com.zxq.factory.annotate.Frame;
import com.zxq.factory.enums.EField;
import com.zxq.uart.model.PlatformAttachDTO;
import lombok.Data;

@Data
@Frame
public class _05FillEndCmd extends PlatformAttachDTO {

    @DecoderField(param = 1)
    Integer port;
    @DecoderField(sequence = 2)
    Integer number;
    @DecoderField(sequence = 3,param = 1)
    Integer reason;
    @DecoderField(sequence = 4,field = EField.Hex,param = 4)
    String cardNum;
    @DecoderField(sequence = 5)
    Integer refundMoney;
    @DecoderField(sequence = 6,field = EField.Int)
    Integer cardType;

}
